package com.bw.mvpcore

abstract class BaseRepository<M:IModel> {
    protected lateinit var mModel:M
    init {
        mModel=createModel()
    }

    abstract fun createModel(): M
}